package com.cskaoyan.shopping.service.impl;

import com.cskaoyan.shopping.dal.entitys.PromoSession;
import com.cskaoyan.shopping.dal.persistence.PromoSessionMapper;
import com.cskaoyan.shopping.service.IPromoSessionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * \* User: 余雨健
 * \* Date: 2022/10/27
 * \* Time: 14:26
 **/
@Service
public class IPromoSessionServiceImpl implements IPromoSessionService {

    @Autowired
    PromoSessionMapper promoSessionMapper;

    @Override
    public PromoSession Seckilllist(Integer id) {
        PromoSession promoSession = promoSessionMapper.selectPromoSessionBySessionId(id);
        return promoSession;
    }
}
